const path = require('path')

console.log('当前构建环境：', process.env.VUE_APP_TYPE)

const resolve = dir => path.join(__dirname, dir)

module.exports = {
  chainWebpack: config => {
    // console.log(config);
    config.resolve.alias
      .set('@', resolve('src'))
      .set('@assets', resolve('src/assets'))
  }
}
